package com.aspose.cells;

class zabe {
   private Workbook a;
   private zbwl b;
   private zcfd c;

   zabe(WorksheetCollection var1) {
      this.a = var1.n();
      this.b = new zbwl(var1);
      this.c = new zcfd(var1);
   }

   boolean a() {
      return this.a.k() ? this.c.c() : this.b.e();
   }

   static int a(boolean var0, boolean var1) {
      int var2 = 0;
      if (var0) {
         var2 |= 1;
      }

      if (var1) {
         var2 |= 2;
      }

      return var2;
   }

   byte[] a(zabd var1, WorksheetCollection var2, int var3, int var4, int var5, int var6, int var7, int var8, boolean var9) {
      if (this.a.k()) {
         zcfd var11 = this.c;
         var11.a(var3, var4, var5, var6);
         return var11.a(var1, var7, var8, var9);
      } else {
         zbwl var10 = this.b;
         var10.a(var3, var4, var5, var6);
         return var10.a(var1, var7, var8, var9);
      }
   }

   byte[] a(byte var1, int var2, int var3) {
      byte[] var4;
      if (this.a.k()) {
         var4 = new byte[15];
         var4[0] = 7;
         var4[4] = var1;
         System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var4, 5, 4);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, var4, 9, 2);
         return var4;
      } else {
         var4 = new byte[7];
         var4[0] = 5;
         var4[2] = var1;
         System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, var4, 3, 2);
         var4[5] = (byte)var3;
         return var4;
      }
   }
}
